package edu.friday_2025_04_27.service.impl;
import edu.friday_2025_04_27.model.SysRole;
import edu.friday_2025_04_27.repository.SysRoleRepository;
import edu.friday_2025_04_27.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class SysRoleServiceImpl implements SysRoleService {
    @Autowired
    SysRoleRepository roleRepository;
    @Override
    public List<SysRole> selectRoleList() {
        return roleRepository.findAll();
    }
}
